﻿Imports System

Namespace System.Workflow.ComponentModel.Compiler
    <AttributeUsage((AttributeTargets.Event Or AttributeTargets.Property), AllowMultiple:=False, Inherited:=True)> _
    Public NotInheritable Class ValidationOptionAttribute
        Inherits Attribute
        ' Methods
        Public Sub New(ByVal validationOption As ValidationOption)
            Me.validationOption = validationOption
        End Sub


        ' Properties
        Public ReadOnly Property ValidationOption As ValidationOption
            Get
                Return Me.validationOption
            End Get
        End Property


        ' Fields
        Private validationOption As ValidationOption
    End Class
End Namespace

